package com.leyou.gateway.task;

import org.springframework.scheduling.annotation.Scheduled;

/**
 * @author 虎哥
 */
// @Component
public class HelloTask {

    @Scheduled(cron = "0/1 * * * * ?")
    public void sayHello(){
        System.out.println("hello .... ");
    }
}
